package com.tongtong.stsuserapi.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("分类")
@TableName("Classification")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Classification implements Serializable {
	private static final long serialVersionUID = 22347023433L;

	@ApiModelProperty("ID主键")
	@TableId(value = "id", type = IdType.ASSIGN_ID)
	private Long id;

	@ApiModelProperty("分类名称")
	private String classificationName;
	@ApiModelProperty("逻辑删除 (0为删除,1为正常)")
	private Integer state;

	@ApiModelProperty("管理员id")
	private Long managerId;
}
